package com.jy.api.dao;

import com.jy.api.domain.MemberTeamAccount;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by xiaohua on 2018/12/25.
 */
public interface MemberTeamAccountDao extends CrudRepository<MemberTeamAccount,Integer> {



    MemberTeamAccount findByMemberIdAndEnabledAndTeamId(String memberIds,boolean enabled,int teamId);

    List<MemberTeamAccount> findByTeamIdAndEnabled(int teamId,boolean enabled);





}
